package messaage;

public class UpdateThreadMsg extends Message {

	protected String threadId;
	protected String body;

	public UpdateThreadMsg(String _username, String _body, String _threadId) {
		this.username = _username;
		this.threadId = _threadId;
		this.body = _body;
	}

	@Override
	public String toString() {
		String msg = "Update Thread: " + this.threadId + "\nUsername:  "
				+ this.username + "\nThread Body: " + this.body + "\n" + '\0';

		return msg;
	}

	public String getThreadId() {
		return threadId;
	}

	public String getBody() {
		return body;
	}

}
